package car.aistar.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (CarDetail)实体类
 *
 * @author makejava
 * @since 2020-10-02 19:04:59
 */
public class CarDetail implements Serializable {
    private static final long serialVersionUID = -47122449697759434L;
    /**
     * 车id
     */
    private Long id;
    /**
     * 车品牌id
     */
    private Long brId;
    /**
     * 车系id
     */
    private Long stId;
    /**
     * 车封面
     */
    @JsonProperty(value = "cPhoto")
    private String cPhoto;
    /**
     * 车龄
     */
    @JsonProperty(value = "cAge")
    private Integer cAge;
    /**
     * 售价
     */
    @JsonProperty(value = "cOprice")
    private Double cOprice;
    /**
     * 底价
     */
    @JsonProperty(value = "cPrice")
    private Double cPrice;
    /**
     * 基本描述
     */
    @JsonProperty(value = "cDesc")
    private String cDesc;
    /**
     * 车辆状态
     */
    @JsonProperty(value = "cStatus")
    private Integer cStatus;
    /**
     * 创建时间
     */
    @JsonProperty(value = "cCreatedate")
    private Date cCreatedate;
    /**
     * 里程
     */
    @JsonProperty(value = "cMileage")
    private Integer cMileage;
    /**
     * 座位
     */
    @JsonProperty(value = "cSeat")
    private Integer cSeat;
    /**
     * 油耗
     */
    @JsonProperty(value = "cCus")
    private String cCus;
    /**
     * 用途
     */
    @JsonProperty(value = "cUse")
    private String cUse;
    /**
     * 档位
     */
    @JsonProperty(value = "cGear")
    private String cGear;
    /**
     * 驱动
     */
    @JsonProperty(value = "cDrive")
    private String cDrive;
    /**
     * 排放
     */
    @JsonProperty(value = "cPaifang")
    private String cPaifang;
    /**
     * 保险时间
     */
    @JsonProperty(value = "cInsure")
    private Date cInsure;
    /**
     * 上牌时间
     */
    @JsonProperty(value = "cRegistration")
    private Date cRegistration;
    /**
     * 检测描述
     */
    @JsonProperty(value = "cCheak")
    private String cCheak;
    /**
     * 车牌号
     */
    private String carCarnumber;
    /**
     * 点击数
     */
    private Integer carCount;
    /**
     * 销售id
     */
    @JsonProperty(value = "salId")
    private Integer salId;

    public CarDetail() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBrId() {
        return brId;
    }

    public void setBrId(Long brId) {
        this.brId = brId;
    }

    public Long getStId() {
        return stId;
    }

    public void setStId(Long stId) {
        this.stId = stId;
    }

    public String getCPhoto() {
        return cPhoto;
    }

    public void setCPhoto(String cPhoto) {
        this.cPhoto = cPhoto;
    }

    public Integer getCAge() {
        return cAge;
    }

    public void setCAge(Integer cAge) {
        this.cAge = cAge;
    }

    public Double getCOprice() {
        return cOprice;
    }

    public void setCOprice(Double cOprice) {
        this.cOprice = cOprice;
    }

    public Double getCPrice() {
        return cPrice;
    }

    public void setCPrice(Double cPrice) {
        this.cPrice = cPrice;
    }

    public String getCDesc() {
        return cDesc;
    }

    public void setCDesc(String cDesc) {
        this.cDesc = cDesc;
    }

    public Integer getCStatus() {
        return cStatus;
    }

    public void setCStatus(Integer cStatus) {
        this.cStatus = cStatus;
    }

    public Date getCCreatedate() {
        return cCreatedate;
    }

    public void setCCreatedate(Date cCreatedate) {
        this.cCreatedate = cCreatedate;
    }

    public Integer getCMileage() {
        return cMileage;
    }

    public void setCMileage(Integer cMileage) {
        this.cMileage = cMileage;
    }

    public Integer getCSeat() {
        return cSeat;
    }

    public void setCSeat(Integer cSeat) {
        this.cSeat = cSeat;
    }

    public String getCCus() {
        return cCus;
    }

    public void setCCus(String cCus) {
        this.cCus = cCus;
    }

    public String getCUse() {
        return cUse;
    }

    public void setCUse(String cUse) {
        this.cUse = cUse;
    }

    public String getCGear() {
        return cGear;
    }

    public void setCGear(String cGear) {
        this.cGear = cGear;
    }

    public String getCDrive() {
        return cDrive;
    }

    public void setCDrive(String cDrive) {
        this.cDrive = cDrive;
    }

    public String getCPaifang() {
        return cPaifang;
    }

    public void setCPaifang(String cPaifang) {
        this.cPaifang = cPaifang;
    }

    public Date getCInsure() {
        return cInsure;
    }

    public void setCInsure(Date cInsure) {
        this.cInsure = cInsure;
    }

    public Date getCRegistration() {
        return cRegistration;
    }

    public void setCRegistration(Date cRegistration) {
        this.cRegistration = cRegistration;
    }

    public String getCCheak() {
        return cCheak;
    }

    public void setCCheak(String cCheak) {
        this.cCheak = cCheak;
    }

    public String getCarCarnumber() {
        return carCarnumber;
    }

    public void setCarCarnumber(String carCarnumber) {
        this.carCarnumber = carCarnumber;
    }

    public Integer getCarCount() {
        return carCount;
    }

    public void setCarCount(Integer carCount) {
        this.carCount = carCount;
    }

    public Integer getSalId() {
        return salId;
    }

    public void setSalId(Integer salId) {
        this.salId = salId;
    }

    @Override
    public String toString() {
        return "CarDetail{" +
                "id=" + id +
                ", brId=" + brId +
                ", stId=" + stId +
                ", cPhoto='" + cPhoto + '\'' +
                ", cAge=" + cAge +
                ", cOprice=" + cOprice +
                ", cPrice=" + cPrice +
                ", cDesc='" + cDesc + '\'' +
                ", cStatus=" + cStatus +
                ", cCreatedate=" + cCreatedate +
                ", cMileage=" + cMileage +
                ", cSeat=" + cSeat +
                ", cCus='" + cCus + '\'' +
                ", cUse='" + cUse + '\'' +
                ", cGear='" + cGear + '\'' +
                ", cDrive='" + cDrive + '\'' +
                ", cPaifang='" + cPaifang + '\'' +
                ", cInsure=" + cInsure +
                ", cRegistration=" + cRegistration +
                ", cCheak='" + cCheak + '\'' +
                ", carCarnumber='" + carCarnumber + '\'' +
                ", carCount=" + carCount +
                ", salId=" + salId +
                '}';
    }
}